GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / TwainLoadConfiguration Method / TwainLoadConfiguration(Byte[]) Method
The array of bytes containing the current device configuration data.





In This Topic
TwainLoadConfiguration(Byte[]) Method
In This Topic
Loads from an array of bytes, settings of the opened source, e.g. DPI, paper size, color format.
Syntax
'Declaration
 
Public Overloads Function TwainLoadConfiguration( _
   ByVal Data() As Byte _
) As Boolean
public bool TwainLoadConfiguration( 
   byte[] Data
)
public function TwainLoadConfiguration( 
    Data: Bytearray of
): Boolean; 
public function TwainLoadConfiguration( 
   Data : byte[]
) : boolean;
public: bool TwainLoadConfiguration( 
   byte[]* Data
) 
public:
bool TwainLoadConfiguration( 
   array<byte>^ Data
) 

Parameters

Data
The array of bytes containing the current device configuration data.

Return Value

TRUE if successful, FALSE otherwise -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
Remarks
Before using this method check that the TWAIN state is TWAIN_SOURCE_OPEN (4) To get the TWAIN state, use the TwainGetState() method.
See Also